package com.regretbuying.front.service.categories;

import com.regretbuying.pojo.Categories;
import java.util.List;
import java.util.Map;

public interface CategoriesService {

    /**
     * 获取一级大分类
     * @return List<Categories>
     */
    List<Categories> getFirstCategories() ;

    /**
     * 获取二级分类
     * @return List<Map<Categories, List<Map<Categories, List<Categories>>>>>
     */
    List<Map<Categories, List<Categories>>> getCategories() ;

    Categories CategoriesById(int id);
}
